package com.bzy.blp.mapper;

import com.bzy.blp.model.TCoreImg;
import com.bzy.blp.model.TCoreImgCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCoreImgMapper {
    long countByExample(TCoreImgCriteria example);

    int deleteByExample(TCoreImgCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(TCoreImg record);

    int insertSelective(TCoreImg record);

    List<TCoreImg> selectByExample(TCoreImgCriteria example);

    TCoreImg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TCoreImg record, @Param("example") TCoreImgCriteria example);

    int updateByExample(@Param("record") TCoreImg record, @Param("example") TCoreImgCriteria example);

    int updateByPrimaryKeySelective(TCoreImg record);

    int updateByPrimaryKey(TCoreImg record);

    TCoreImg getCoreImgByDrillingId(Integer drillingId);
}